Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.platform.login.Cas2SSO.ExceptionHandlingContrib

Requirements

Resolution Order

589
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component
    name="org.nuxeo.ecm.platform.login.Cas2SSO.ExceptionHandlingContrib">

  <require>org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingContrib</require>

  <extension
      target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
      point="exceptionhandler">
    <exceptionHandler
        class="org.nuxeo.ecm.platform.ui.web.auth.cas2.SecurityExceptionHandler"/>
  </extension>

    <!--extension
      target="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService"
      point="errorhandlers">
    <errorHandlers bundle="messages" loggerName="nuxeo-debug-log"  defaultpage="/cas2_security_exception.jsp">
      <handlers>
        <handler error=".*SecurityException" message="Error.Insuffisant.Rights" page="/cas2_security_exception.jsp"/>
      </handlers>
    </errorHandlers>
  </extension-->

</component>